Platform Explorer / Nuxeo Platform 5.8

Contribution com.nuxeo.document.routing.table.widget--widgets

This contribution is part of XML component com.nuxeo.document.routing.table.widget inside nuxeo-platform-document-routing-web-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="dr_listing_document_route_folder_element_type" type="listing_document_route_folder_element_type">
          <labels>
            <label mode="any">label.document.route.content.header.type</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>routeElement.document</field>
            <field>routeElement.document.id</field>
            <field>routeElement.document.hasFacet('Folderish')</field>
          </fields>
          <properties mode="any">
            <property name="showAvailableActionsOnRouteElement">true</property>
          </properties>
        </widget>
  • <widget name="dr_listing_document_route_element_type" type="listing_document_route_element_type">
          <labels>
            <label mode="any">label.document.route.content.header.type</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.type</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title_link" type="listing_route_title_link">
          <labels>
            <label mode="any">label.content.header.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.title</field>
          </fields>
        </widget>
  • <widget name="dr_listing_document_route_element_actors" type="listing_document_route_element_actors">
          <labels>
            <label mode="any">label.document.route.content.header.actors</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.task_step.actors</field>
          </fields>
        </widget>
  • <widget name="dr_listing_route_element_state" type="listing_document_route_element_state">
          <translated>true</translated>
           <labels>
            <label mode="any">label.widget.document_routing_route_content.dr_listing_route_element_state</label>
          </labels>
          <fields>
            <field>data.document.currentLifeCycleState</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title_description" type="text">
          <labels>
            <label mode="any">label.content.header.description</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.dc.description</field>
          </fields>
        </widget>
  • <widget name="dr_listing__edit_document_route_element" type="listing_edit_document_route_element">
          <labels>
            <label mode="any">label.document.route.content.header.update</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
          </fields>
        </widget>
  • <widget name="dr_listing_add_step" type="add_step">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.hasFacet('Folderish')</field>
          </fields>
        </widget>
  • <widget name="dr_listing_remove_step" type="remove_step">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title" type="text">
          <labels>
            <label mode="any">label.content.header.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.dc.title</field>
          </fields>
        </widget>
  • <widget name="dr_listing_current_lifecycle" type="text">
          <labels>
            <label mode="any">label.content.header.currentLifecycleState</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.currentLifeCycleState</field>
          </fields>
        </widget>
  • <widget name="dr_listing_no_comments" type="listing_no_comments">
          <labels>
            <label mode="any">label.content.header.comments</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.hasFacet('CommentsInfoHolder')</field>
            <field>data.document.infocom.numberOfComments</field>
          </fields>
        </widget>
  • <widget name="dr_listing_step_actions" type="step_actions">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.hasFacet('Folderish')</field>
          </fields>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="dr_listing_document_route_folder_element_type" type="listing_document_route_folder_element_type">
      <labels>
        <label mode="any">label.document.route.content.header.type</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>routeElement.document</field>
        <field>routeElement.document.id</field>
        <field>routeElement.document.hasFacet('Folderish')</field>
      </fields>
      <properties mode="any">
        <property name="showAvailableActionsOnRouteElement">true</property>
      </properties>
    </widget>

    <widget name="dr_listing_document_route_element_type" type="listing_document_route_element_type">
      <labels>
        <label mode="any">label.document.route.content.header.type</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.type</field>
      </fields>
    </widget>

    <widget name="dr_listing_title_link" type="listing_route_title_link">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.title</field>
      </fields>
    </widget>
    
    <widget name="dr_listing_document_route_element_actors" type="listing_document_route_element_actors">
      <labels>
        <label mode="any">label.document.route.content.header.actors</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.task_step.actors</field>
      </fields>
    </widget>

    <widget name="dr_listing_route_element_state" type="listing_document_route_element_state">
      <translated>true</translated>
       <labels>
        <label mode="any">label.widget.document_routing_route_content.dr_listing_route_element_state</label>
      </labels>
      <fields>
        <field>data.document.currentLifeCycleState</field>
      </fields>
    </widget>

    <widget name="dr_listing_title_description" type="text">
      <labels>
        <label mode="any">label.content.header.description</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.dc.description</field>
      </fields>
    </widget>

    <widget name="dr_listing__edit_document_route_element" type="listing_edit_document_route_element">
      <labels>
        <label mode="any">label.document.route.content.header.update</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
      </fields>
    </widget>

    <widget name="dr_listing_add_step" type="add_step">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.hasFacet('Folderish')</field>
      </fields>
    </widget>

    <widget name="dr_listing_remove_step" type="remove_step">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
      </fields>
    </widget>

    <widget name="dr_listing_title" type="text">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.dc.title</field>
      </fields>
    </widget>

    <widget name="dr_listing_current_lifecycle" type="text">
      <labels>
        <label mode="any">label.content.header.currentLifecycleState</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.currentLifeCycleState</field>
      </fields>
    </widget>

    <widget name="dr_listing_no_comments" type="listing_no_comments">
      <labels>
        <label mode="any">label.content.header.comments</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.hasFacet('CommentsInfoHolder')</field>
        <field>data.document.infocom.numberOfComments</field>
      </fields>
    </widget>

    <widget name="dr_listing_step_actions" type="step_actions">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.hasFacet('Folderish')</field>
      </fields>
    </widget>

  </extension>